package com.fhzn.auth.web.request;

import com.google.common.base.MoreObjects;
import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * @author 老顾
 * @apiNote
 * @since 2023/12/26
 */
@Data
public class RoleUserRequest extends RoleOpRequest {

    private List<String> userList;

    private int type = 1;

    public List<String> getUserList() {
        return MoreObjects.firstNonNull(userList, Collections.emptyList());
    }
}
